<?php 
session_start();
class ofacebook extends CI_Controller  {

        /**
        * Index Page for this controller.
        *
        * Maps to the following URL
        * 		http://example.com/index.php/welcome
        *	- or -  
        * 		http://example.com/index.php/welcome/index
        *	- or -
        * Since this controller is set as the default controller in 
        * config/routes.php, it's displayed at http://example.com/
        *
        * So any other public methods not prefixed with an underscore will
        * map to /index.php/welcome/<method_name>
        * @see http://codeigniter.com/user_guide/general/urls.html
        */
        private $_configs = null;
        function __construct()
        {
            parent::__construct();
            $this->load->helper('url');
            $this->load->library('javascript');
            $this->load->library('session');
            //$this->load->library('OpenID/LightOpenID',"localhost","LightOpenID");
        }
        public function index()
        {
            ?>
                <iframe src="https://www.facebook.com/plugins/registration?
                            client_id=113869198637480&
                            redirect_uri=https%3A%2F%2Fdevelopers.facebook.com%2Ftools%2Fecho%2F&
                            fields=name,birthday,gender,location,email"
                        scrolling="auto"
                        frameborder="no"
                        style="border:none"
                        allowTransparency="true"
                        width="100%"
                        height="330">
                </iframe>
                <?
        }
        function glogin(){
            print_r($_SESSION["OpenID"]);
        }
        
          
}

/* End of file welcome.php */
/* Location: ./application/controllers/welcome.php */
